diff options
author | Gregory Montoir | 2003-12-05 13:56:07 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-05 13:56:07 +0000 |
commit | e19909d3e394682b1610a9b0326b449a7f288099 (patch) | |
tree | f059487a4213cbe0e23771e1a2d9b5f1b92c5598 /queen/talk.cpp | |
parent | d671496567535350dc4886189d6319b5b7977f30 (diff) | |
download | scummvm-rg350-e19909d3e394682b1610a9b0326b449a7f288099.tar.gz scummvm-rg350-e19909d3e394682b1610a9b0326b449a7f288099.tar.bz2 scummvm-rg350-e19909d3e394682b1610a9b0326b449a7f288099.zip |
cleanup, s/abs/ABS/g
svn-id: r11501
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index d4f41c4a66..687ee199e8 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -188,7 +188,7 @@ void Talk::talk(const char *filename, int personInRoom, char *cutawayFilename) { int16 index = _dialogueTree[level][i].gameStateIndex; - if (index < 0 && _logic->gameState(abs(index)) != _dialogueTree[level][i].gameStateValue) + if (index < 0 && _logic->gameState(ABS(index)) != _dialogueTree[level][i].gameStateValue) _talkString[i][0] = '\0'; sprintf(_joeVoiceFilePrefix[i], "%2d%4xJ", _talkKey, _dialogueTree[level][i].head); @@ -313,7 +313,7 @@ void Talk::talk(const char *filename, int personInRoom, char *cutawayFilename) { if (_itemNumber[i] > 0) _logic->inventoryInsertItem(_itemNumber[i]); else - _logic->inventoryDeleteItem(abs(_itemNumber[i])); + _logic->inventoryDeleteItem(ABS(_itemNumber[i])); } } } |