mirror of
https://github.com/glest/glest-source.git
synced 2025-10-04 03:11:53 +02:00
no return in void methods
This commit is contained in:
@@ -1496,7 +1496,7 @@ void ScriptManager::setUnitPosition(int unitId, Vec2i pos) {
|
||||
void ScriptManager::addCellMarker(Vec2i pos, int factionIndex, const string ¬e, const string &textureFile) {
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugLUA).enabled) SystemFlags::OutputDebug(SystemFlags::debugLUA,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
ScriptManager_STREFLOP_Wrapper streflopWrapper;
|
||||
return world->addCellMarker(pos,factionIndex, note, textureFile);
|
||||
world->addCellMarker(pos,factionIndex, note, textureFile);
|
||||
}
|
||||
|
||||
void ScriptManager::removeCellMarker(Vec2i pos, int factionIndex) {
|
||||
@@ -1508,7 +1508,7 @@ void ScriptManager::removeCellMarker(Vec2i pos, int factionIndex) {
|
||||
void ScriptManager::showMarker(Vec2i pos, int factionIndex, const string ¬e, const string &textureFile, int flashCount) {
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugLUA).enabled) SystemFlags::OutputDebug(SystemFlags::debugLUA,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
ScriptManager_STREFLOP_Wrapper streflopWrapper;
|
||||
return world->showMarker(pos,factionIndex, note, textureFile, flashCount);
|
||||
world->showMarker(pos,factionIndex, note, textureFile, flashCount);
|
||||
}
|
||||
|
||||
int ScriptManager::getIsUnitAlive(int unitId) {
|
||||
|
Reference in New Issue
Block a user