fixed some bugs in new 'g'o system
[k8-i-v-a-n.git] / src / game / commands / Look.cpp
blob0610e56c995716e329f9b85e5b4fb8a2f9bf7846
1 COMMAND(Look) {
2 festring Msg;
3 if (!game::IsInWilderness()) Char->GetLevel()->AddSpecialCursors();
4 if (!game::IsInWilderness())
5 Msg = CONST_S("Direction keys move cursor, ESC exits, 'i' examines items, 'c' examines a character.");
6 else
7 Msg = CONST_S("Direction keys move cursor, ESC exits, 'c' examines a character.");
8 game::PositionQuestion(Msg, Char->GetPos(), &game::LookHandler, &game::LookKeyHandler, ivanconfig::GetLookZoom());
9 game::RemoveSpecialCursors();
10 return false;