[-] Removed SideAttack if-case

This commit is contained in:
cybermind 2015-03-18 18:53:04 +05:00
parent bb2b5a5d68
commit 1656d2c66b
2 changed files with 2 additions and 4 deletions

View file

@ -32,9 +32,9 @@
# Stratagus major version
set(STRATAGUS_MAJOR_VERSION 2)
# Stratagus minor version (maximal 99)
set(STRATAGUS_MINOR_VERSION 2)
set(STRATAGUS_MINOR_VERSION 3)
# Stratagus patch level (maximal 99)
set(STRATAGUS_PATCH_LEVEL 7)
set(STRATAGUS_PATCH_LEVEL 0)
# Stratagus patch level 2
set(STRATAGUS_PATCH_LEVEL2 0)
#########################

View file

@ -993,8 +993,6 @@ static int CclDefineUnitType(lua_State *l)
type->NoRandomPlacing = LuaToBoolean(l, -1);
} else if (!strcmp(value, "organic")) {
type->Organic = LuaToBoolean(l, -1);
} else if (!strcmp(value, "SideAttack")) {
type->SideAttack = LuaToBoolean(l, -1);
} else if (!strcmp(value, "Sounds")) {
if (!lua_istable(l, -1)) {
LuaError(l, "incorrect argument");