mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 10:06:00 +00:00
Tried compiling with ICC9 on Linux, which raised various issues:
* Fixed some bugs with incorrect macro usage (SDL_BYTE_ORDER vs
SDL_BYTEORDER, {MSC,GCC}_VER vs {MSC,GCC}_VERSION, OS_WIN/OS_UNIX in
projects where they're not defined).
* Removed some redundant declarations of g_Console.
* Removed some unnecessary semicolons.
* Removed some unused variables.
* Added throw specification to operator new.
This was SVN commit r4698.
This commit is contained in:
@@ -952,4 +952,4 @@ jsval CEntity::FlattenTerrain( JSContext* UNUSED(cx), uintN UNUSED(argc), jsval*
|
||||
g_Game->GetWorld()->GetTerrain()->FlattenArea(pos.X-xDiff, pos.X+xDiff, pos.Z-yDiff, pos.Z+yDiff);
|
||||
snapToGround();
|
||||
return JS_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user