projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- some more work on the new unisolid snow tiles and a test level
[supertux.git]
/
src
/
player_status.cpp
diff --git
a/src/player_status.cpp
b/src/player_status.cpp
index
8279e17
..
352fac3
100644
(file)
--- a/
src/player_status.cpp
+++ b/
src/player_status.cpp
@@
-153,9
+153,9
@@
PlayerStatus::draw(DrawingContext& context)
Surface* coin_surf = coin_surface.get();
if (coin_surf) {
Surface* coin_surf = coin_surface.get();
if (coin_surf) {
- context.draw_surface(coin_surf, Vector(SCREEN_WIDTH - BORDER_X - coin_surf->get_width() - gold_text->get_text_width(coins_text), BORDER_Y + 1), LAYER_HUD);
+ context.draw_surface(coin_surf, Vector(SCREEN_WIDTH - BORDER_X - coin_surf->get_width() - gold_
fixed_
text->get_text_width(coins_text), BORDER_Y + 1), LAYER_HUD);
}
}
- context.draw_text(gold_
text, coins_text, Vector(SCREEN_WIDTH - BORDER_X, BORDER_Y), RIGHT_ALLIGN
, LAYER_HUD);
+ context.draw_text(gold_
fixed_text, coins_text, Vector(SCREEN_WIDTH - BORDER_X, BORDER_Y), ALIGN_RIGHT
, LAYER_HUD);
context.pop_transform();
}
context.pop_transform();
}
@@
-168,4
+168,3
@@
PlayerStatus::operator= (const PlayerStatus& other)
score_multiplier = other.score_multiplier;
max_score_multiplier = other.max_score_multiplier;
}
score_multiplier = other.score_multiplier;
max_score_multiplier = other.max_score_multiplier;
}
-