summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-04-08 10:21:13 +0000
committerAaron Marks <nymacro@gmail.com>2005-04-08 10:21:13 +0000
commit722538cb38196237c0d503e8c07b3408c17989bc (patch)
tree851430d69fc7d7926adc7bfc3e94723999795609 /src/game.cpp
parent7c2c4d75a1f459b46c08883c282af0afb61fceb9 (diff)
downloadmana-722538cb38196237c0d503e8c07b3408c17989bc.tar.gz
mana-722538cb38196237c0d503e8c07b3408c17989bc.tar.bz2
mana-722538cb38196237c0d503e8c07b3408c17989bc.tar.xz
mana-722538cb38196237c0d503e8c07b3408c17989bc.zip
Created damage text seperate from speech & made it scroll.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index d4e1ed6f..9670b11b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1043,12 +1043,12 @@ void do_parse() {
if (RFIFOW(22) == 0) {
// Yellow
- being->setSpeech("miss", SPEECH_TIME);
+ being->setDamage("miss", SPEECH_TIME);
} else {
// Blue for monster, red for player
std::stringstream ss;
ss << RFIFOW(22);
- being->setSpeech(ss.str(), SPEECH_TIME);
+ being->setDamage(ss.str(), SPEECH_TIME);
}
if (RFIFOL(2) != player_node->id) { // buggy