File: Fix-typo-of-empty-in-ai_main.c.patch

package info (click to toggle)
openarena 0.8.8%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,112 kB
  • sloc: ansic: 102,266; makefile: 1,861; asm: 396; xml: 339; sh: 133
file content (23 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Zack Middleton <zturtleman@gmail.com>
Date: Mon, 27 Jun 2016 21:13:27 -0500
Subject: Fix typo of empty in ai_main.c

Origin: ioquake3, commit:274fa898b1cbadd444a2641c93c0f7daadba9af6
Applied-upstream: commit:7215f4bd3f0822e36f29fb907b55c0ea385f5100
---
 code/game/ai_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/game/ai_main.c b/code/game/ai_main.c
index 1ee21b8..a8e2493 100644
--- a/code/game/ai_main.c
+++ b/code/game/ai_main.c
@@ -256,7 +256,7 @@ void BotTestAAS(vec3_t origin) {
 	if (bot_testsolid.integer) {
 		if (!trap_AAS_Initialized()) return;
 		areanum = BotPointAreaNum(origin);
-		if (areanum) BotAI_Print(PRT_MESSAGE, "\remtpy area");
+		if (areanum) BotAI_Print(PRT_MESSAGE, "\rempty area");
 		else BotAI_Print(PRT_MESSAGE, "\r^1SOLID area");
 	}
 	else if (bot_testclusters.integer) {