diff options
| author | jacob1 <jfu614@gmail.com> | 2013-02-08 22:59:13 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-02-08 22:59:13 (GMT) |
| commit | b8d53b5f7659f6b95f025a900d3b9982400dcc59 (patch) | |
| tree | 5ed49a27dc5e764d852ba72ab69aafcb44baea9c /src/game/GameController.cpp | |
| parent | 7ce34ad732dc22326dfbbde54b9cf46ec366c480 (diff) | |
| download | powder-b8d53b5f7659f6b95f025a900d3b9982400dcc59.zip powder-b8d53b5f7659f6b95f025a900d3b9982400dcc59.tar.gz | |
fix sign box size, sign width with {t} and {p}, and zoom box size
Diffstat (limited to 'src/game/GameController.cpp')
| -rw-r--r-- | src/game/GameController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp index 0b35681..efe37c4 100644 --- a/src/game/GameController.cpp +++ b/src/game/GameController.cpp @@ -543,7 +543,7 @@ bool GameController::MouseUp(int x, int y, unsigned button) for (std::vector<sign>::iterator iter = sim->signs.begin(), end = sim->signs.end(); iter != end; ++iter) { int signx, signy, signw, signh; - (*iter).pos(signx, signy, signw, signh); + (*iter).pos((*iter).getText(sim), signx, signy, signw, signh); if (x>=signx && x<=signx+signw && y>=signy && y<=signy+signh) { if (sregexp((*iter).text.c_str(), "^{[c|t]:[0-9]*|.*}$")==0) |
