JANITORIAL: Remove superfluous semicolons

This commit is contained in:
Torbjörn Andersson 2017-04-18 06:47:50 +02:00
parent a36e631b16
commit 6cda47ca3d
11 changed files with 16 additions and 16 deletions

View File

@ -150,7 +150,7 @@ void OSystem_3DS::initSize(uint width, uint height,
_overlay.create(getOverlayWidth(), getOverlayHeight(), _pfGameTexture);
if (format) {
debug("pixelformat: %d %d %d %d %d", format->bytesPerPixel, format->rBits(), format->gBits(), format->bBits(), format->aBits());;
debug("pixelformat: %d %d %d %d %d", format->bytesPerPixel, format->rBits(), format->gBits(), format->bBits(), format->aBits());
_pfGame = *format;
}

View File

@ -305,7 +305,7 @@ void CMakeProvider::writeEngineDefinitions(std::ofstream &workspace) const {
workspace << " if (ENABLE_${ENGINE})\n";
workspace << " add_definitions(-DENABLE_${ENGINE})\n";
workspace << " foreach(SUB_ENGINE IN LISTS SUB_ENGINES_${ENGINE})\n";
workspace << " add_definitions(-DENABLE_${SUB_ENGINE})\n";;
workspace << " add_definitions(-DENABLE_${SUB_ENGINE})\n";
workspace << " endforeach(SUB_ENGINE)\n";
workspace << " endif()\n";
workspace << "endforeach()\n\n";

View File

@ -1785,7 +1785,7 @@ void ScriptInit::Init_World_Waypoints() {
World_Waypoint_Set(132, 24, 619.45f, -9.0f, 234.0f);
World_Waypoint_Set(133, 24, 619.45f, -9.0f, 270.0f);
World_Waypoint_Set(134, 22, -80.59f, -60.31f, 256.35f);
World_Waypoint_Set(135, 22, -48.0f, -60.31f, 183.0f);;
World_Waypoint_Set(135, 22, -48.0f, -60.31f, 183.0f);
World_Waypoint_Set(136, 22, -24.59f, -60.31f, 64.35f);
World_Waypoint_Set(137, 22, 99.41f, -60.31f, 4.35f);
World_Waypoint_Set(138, 22, 99.41f, -60.34f, -115.65f);

View File

@ -134,7 +134,7 @@ bool SceneScriptCT09::ClickedOnExit(int exitId) {
}
return true;
}
return false;;
return false;
}
bool SceneScriptCT09::ClickedOn2DRegion(int region) {

View File

@ -103,7 +103,7 @@ bool SceneScriptNR07::ClickedOnActor(int actorId) {
break;
}
Actor_Set_Goal_Number(kActorHanoi, 200);
return false;;
return false;
}
return true;
}

View File

@ -141,18 +141,18 @@ void EdenGame::loadIconFile(uint16 num, Icon *buffer) {
buffer[i].sy = _bigfile.readSint16BE();
buffer[i].ex = _bigfile.readSint16BE();
buffer[i].ey = _bigfile.readSint16BE();
buffer[i]._cursorId = _bigfile.readUint16BE();;
buffer[i]._actionId = _bigfile.readUint32BE();;
buffer[i]._objectId = _bigfile.readUint32BE();;
buffer[i]._cursorId = _bigfile.readUint16BE();
buffer[i]._actionId = _bigfile.readUint32BE();
buffer[i]._objectId = _bigfile.readUint32BE();
}
else {
buffer[i].sx = _bigfile.readSint16LE();
buffer[i].sy = _bigfile.readSint16LE();
buffer[i].ex = _bigfile.readSint16LE();
buffer[i].ey = _bigfile.readSint16LE();
buffer[i]._cursorId = _bigfile.readUint16LE();;
buffer[i]._actionId = _bigfile.readUint32LE();;
buffer[i]._objectId = _bigfile.readUint32LE();;
buffer[i]._cursorId = _bigfile.readUint16LE();
buffer[i]._actionId = _bigfile.readUint32LE();
buffer[i]._objectId = _bigfile.readUint32LE();
}
}
}

View File

@ -2085,7 +2085,7 @@ void ChampionMan::addCandidateChampionToParty(uint16 championPortraitIndex) {
curThing = dungeon.getNextThing(curThing);
}
_vm->_inventoryMan->toggleInventory((ChampionIndex)previousPartyChampionCount);
_vm->_menuMan->drawDisabledMenu();;
_vm->_menuMan->drawDisabledMenu();
}
void ChampionMan::drawChampionBarGraphs(ChampionIndex champIndex) {

View File

@ -1542,7 +1542,7 @@ void DisplayMan::drawSquareD3R(Direction dir, int16 posX, int16 posY) {
drawDoor(squareAspect[kDMSquareAspectDoorThingIndex],
(DoorState)squareAspect[kDMSquareAspectDoorState], _doorNativeBitmapIndexFrontD3LCR,
getBitmapByteCount(48, 41), kDMDoorOrnamentD3LCR, &doorFrameD3R);
break;;
break;
case kDMElementTypePit:
if (!squareAspect[kDMSquareAspectPitInvisible])
drawFloorPitOrStairsBitmapFlippedHorizontally(kDMGraphicIdxFloorPitD3L, frameFloorPitD3R);

View File

@ -830,7 +830,7 @@ T0209061_MoveGroup:
if (_vm->_moveSens->getMoveResult(groupThing, eventMapX, eventMapY, AL0450_i_DestinationMapX, AL0451_i_DestinationMapY))
return;
nextEvent._Bu._location._mapX = _vm->_moveSens->_moveResultMapX;
nextEvent._Bu._location._mapY = _vm->_moveSens->_moveResultMapY;;
nextEvent._Bu._location._mapY = _vm->_moveSens->_moveResultMapY;
activeGroup->_priorMapX = eventMapX;
activeGroup->_priorMapY = eventMapY;
activeGroup->_lastMoveTime = _vm->_gameTime;

View File

@ -1780,7 +1780,7 @@ void Character::subtractHitPoints(int amount) {
int v = getMaxHP() + _currentHp;
if (v >= 1) {
_conditions[UNCONSCIOUS] = 1;
sound.playFX(38);;
sound.playFX(38);
} else {
_conditions[DEAD] = 1;
flag = true;

View File

@ -349,7 +349,7 @@ void Combat::doCharDamage(Character &c, int charNum, int monsterDataIndex) {
c._weapons[idx]._bonusFlags |= ITEMFLAG_CURSED;
c._armor[idx]._bonusFlags |= ITEMFLAG_CURSED;
c._accessories[idx]._bonusFlags |= ITEMFLAG_CURSED;
c._misc[idx]._bonusFlags |= ITEMFLAG_CURSED;;
c._misc[idx]._bonusFlags |= ITEMFLAG_CURSED;
}
sound.playFX(37);
break;