Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-09 23:06:00 +0000
committerStijn Buys <ingar@osirion.org>2008-02-09 23:06:00 +0000
commit31959bc355c471c573828bf63932850e46c4b5bc (patch)
treecc473901e88926e36c89775a7fc97a51da948498 /src/client
parentd281384f727583b39b8e97ffea58b278ecc8dd47 (diff)
more entities
Diffstat (limited to 'src/client')
-rw-r--r--src/client/client.cc2
-rw-r--r--src/client/console.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index faf9ac3..5243d28 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -85,7 +85,7 @@ void Client::init()
con_print << "Initializing client..." << std::endl;
// initialize core
- core::localstate.name = "Client";
+ core::localplayer.name = "Client";
core::Application::init();
// initialize SDL, but do not initialize any subsystems
diff --git a/src/client/console.cc b/src/client/console.cc
index 1c2ab1e..c59f477 100644
--- a/src/client/console.cc
+++ b/src/client/console.cc
@@ -261,7 +261,7 @@ void keypressed(const SDL_keysym &keysym)
input_pos++;
break;
case SDLK_BACKSPACE:
- if ((*history.rbegin()).size() && input_pos) {
+ if ((*history_pos).size() && input_pos) {
(*history_pos).erase(input_pos-1, 1);
input_pos--;
}